
import request from '@/utils/request';

//查询列表
export async function queryPageList(params) {
  return request('/b/dbscanresult/queryTableColumnList', {
    method: 'POST',
    data: params,
  });
}

//查询敏感字段
export async function queryLabelList(params) {
  return request('/b/datasensitivewords/queryList', {
    method: 'POST',
    data: params,
  });
}

//设置人工确认
export async function updateConfirm(params) {
  return request('/b/dbscanresult/update', {
    method: 'POST',
    data: params,
  });
}

//查询数据库
export async function queryDatabaseList(params) {
  return request('/b/dbinfo/queryAuthList', {
    method: 'POST',
    data: params,
  });
}
